package com.example.parkingproject.service;

import com.example.parkingproject.jopo.dto.AddCarDto;
import com.example.parkingproject.jopo.entity.carIn;
import com.example.parkingproject.jopo.vo.CarListVo;
import com.example.parkingproject.jopo.vo.StopHistoryVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CarService {
    void carIn(carIn carIn);

    List<CarListVo> getCarList(String cardId);

    Double carOut(String carId);

    void addNewCar(AddCarDto addCarDto);

    List<StopHistoryVo> getHistory();

    List<StopHistoryVo> search(StopHistoryVo stopHistoryVo);

    Integer getDayHistory();

    Double getMonthPrice();

    List<Integer> weekend();

    List<Integer> orderPrice();
}
